package com.link.base.base.wechat.model;

import com.link.core.basic.model.BasicModel;

/**
 * 类名: BaseMessage <br/>
 * 包名： com.link.base.wechat.model <br/>
 * 描述: 消息的基类   <br/>
 * @author  lujiang  <br/>
 * 创建时间：  2018-04-03  <br/>
 * 发布版本：V1.0
 */
public class BaseMessage extends BasicModel {
    /**
     * 开发者微信号
     */
    private String toUserName;
    /**
     *发送方帐号（一个OpenID）
     */
    private String fromUserName;
    /**
     *消息创建时间 （整型）
     */
    private long createTime;
    /**
     *消息类型（text/image/location/link）
     */
    private String msgType;
    /**
     *消息id，64位整型
     */
    private long msgId;

    public String getToUserName() {
        return toUserName;
    }

    public void setToUserName(String toUserName) {
        this.toUserName = toUserName;
    }

    public String getFromUserName() {
        return fromUserName;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public long getMsgId() {
        return msgId;
    }

    public void setMsgId(long msgId) {
        this.msgId = msgId;
    }
}
